﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Core;
using System.Collections;

namespace Yuanlin.Business
{
    public class CompanyVisitorInfoRequest : TEntityRequest<CompanyVisitorInfo>
    {
        public CompanyVisitorInfoRequest()
        {
            int? entityId = GetParameterValue<int?>(YuanlinParameterName.CompanyVisitorInfoId);
            if (entityId.HasValue)
            {
                EntityId = entityId.Value;
            }
        }
    }
    public class CompanyVisitorInfoListRequest : TEntityListRequest<CompanyVisitorInfo>
    {
        private int? userId = GetParameterValue<int?>(YuanlinParameterName.UserId);
        private string visitor = GetParameterValue<string>(YuanlinParameterName.Visitor);

        public int? UserId
        {
            get
            {
                return userId;
            }
            set
            {
                userId = value;
            }
        }
        public string Visitor
        {
            get
            {
                return visitor;
            }
            set
            {
                visitor = value;
            }
        }
    }
    public class CompanyVisitorInfoReply : EntityReply
    {
    }
}